import request from '@/utils/request'

// 查询法律援助问答评论列表
export function listLawquestioncomment(query) {
  return request({
    url: '/wechat/lawquestioncomment/list',
    method: 'get',
    params: query
  })
}

// 查询法律援助问答评论详细
export function getLawquestioncomment(commentId) {
  return request({
    url: '/wechat/lawquestioncomment/' + commentId,
    method: 'get'
  })
}

// 新增法律援助问答评论
export function addLawquestioncomment(data) {
  return request({
    url: '/wechat/lawquestioncomment',
    method: 'post',
    data: data
  })
}

// 修改法律援助问答评论
export function updateLawquestioncomment(data) {
  return request({
    url: '/wechat/lawquestioncomment',
    method: 'put',
    data: data
  })
}

// 删除法律援助问答评论
export function delLawquestioncomment(commentId) {
  return request({
    url: '/wechat/lawquestioncomment/' + commentId,
    method: 'delete'
  })
}

// 导出法律援助问答评论
export function exportLawquestioncomment(query) {
  return request({
    url: '/wechat/lawquestioncomment/export',
    method: 'get',
    params: query
  })
}